package com.smart.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.smart.common.domain.BaseVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @author zhanghong
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@ApiModel("项目周报响应模型")
public class ProjectWeeklyTaskVO extends BaseVO implements Serializable {
    @ApiModelProperty("年份的第几周")
    private Long weekNum;
    @ApiModelProperty("年份")
    private Long year;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("生效周开始时间")
    private Date startTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("生效周结束时间")
    private Date endTime;
}
